﻿CREATE TABLE [dbo].[ImageData]
(
	[Id] BIGINT NOT NULL IDENTITY(1,1),
	[ImageId] BIGINT NOT NULL,
	[Data] VARBINARY(MAX) NOT NULL,
	CONSTRAINT [FK_Image_ImageData] FOREIGN KEY ([ImageId]) REFERENCES [dbo].[Image] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION
)
